package cn.edu.gzgs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 学历/学位实体
 * @author Zyf
 */
@Data
@TableName("education")
@NoArgsConstructor
@AllArgsConstructor
public class Education implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学历/学位名称
     */
    private String name;

    /**
     * 类型（学历/学位）
     */
    private String type;

    private LocalDateTime createdTime;

    private LocalDateTime updatedTime;
} 